/* 合同字段样式 */
.c-contract {
    display: inline-block;
    min-width: 40px;
    padding: 0 6px;
    margin-right: 15px;
    position: relative;
}

.c-contract .z-i {
    position: absolute;
    right: -3px;
    top: 2px;
    cursor: pointer;
    color: var(--a-color-primary);
}

.c-contract .i {
    margin-left: 4px;
}

.c-contract .i::before {
    content: "(";
    margin-right: 2px;
}

.c-contract .i::after {
    content: ")";
    margin-left: 2px;
}

/* 物料容器样式 */
.c-material {
    margin: 20px 40px;
}

.material-table {
    text-align: center;
}

.material-table th,
.material-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
    vertical-align: middle;
    word-wrap: break-word; /* 处理长内容 */
}

.material-table th {
    background-color: #f0f5ff;
    color: #2c3e50;
    font-weight: 600;
    padding: 15px;
    position: sticky;
    top: 0;
}

.c-material.ProseMirror-selectednode {
    outline: 1px dashed var(--a-color-primary);
}

/* 物料标题样式 */
.material-label {
    text-align: center;
    font-weight: bold;
    position: relative;
}

/* 编辑按钮样式 */
.edit-icon {
    cursor: pointer;
    color: var(--a-color-primary);
}

.material-title {
    text-align: center;
    margin: 15px 0;
}

.material-table tr:hover {
    background-color: #f9fbfd;
}
